package com.stylefeng.guns.common.persistence.model;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author stylefeng
 * @since 2018-08-20
 */
@TableName("org_teacher")
public class OrgTeacher extends Model<OrgTeacher> {

    private static final long serialVersionUID = 1L;

	@TableId(value="id", type= IdType.AUTO)
	private Integer id;
    /**
     * 组织信息id
     */
	@TableField("info_id")
	private String infoId;
    /**
     * 课程id
     */
	@TableField("class_id")
	private String classId;
    /**
     * 名字
     */
	@TableField("teacher_name")
	private String teacherName;
    /**
     * 年龄
     */
	@TableField("teacher_age")
	private Integer teacherAge;
    /**
     * 性别
     */
	@TableField("teacher_sex")
	private String teacherSex;
    /**
     * 教师简介
     */
	@TableField("teacher_info")
	private String teacherInfo;
    /**
     * 照片
     */
	@TableField("teacher_pic")
	private String teacherPic;

	@TableField("teacher_pic1")
	private String teacherPic1;

	@TableField("teacher_pic2")
	private String teacherPic2;

    /**
     * 创建时间
     */
	@TableField("create_date")
	private Date createDate;

	@TableField("path")
	private String path;

	@TableField(exist = false)
	private String infoName;

	@TableField(exist = false)
	private String className;
	@TableField(exist = false)
	private String teacherSexName;

	public String getTeacherSexName() {
		return teacherSexName;
	}

	public void setTeacherSexName(String teacherSexName) {
		this.teacherSexName = teacherSexName;
	}

	public String getClassName() {
		return className;
	}

	public void setClassName(String className) {
		this.className = className;
	}

	public String getInfoName() {
		return infoName;
	}

	public void setInfoName(String infoName) {
		this.infoName = infoName;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getInfoId() {
		return infoId;
	}

	public void setInfoId(String infoId) {
		this.infoId = infoId;
	}

	public String getClassId() {
		return classId;
	}

	public void setClassId(String classId) {
		this.classId = classId;
	}

	public String getTeacherName() {
		return teacherName;
	}

	public void setTeacherName(String teacherName) {
		this.teacherName = teacherName;
	}

	public Integer getTeacherAge() {
		return teacherAge;
	}

	public void setTeacherAge(Integer teacherAge) {
		this.teacherAge = teacherAge;
	}

	public String getTeacherSex() {
		return teacherSex;
	}

	public void setTeacherSex(String teacherSex) {
		this.teacherSex = teacherSex;
	}

	public String getTeacherInfo() {
		return teacherInfo;
	}

	public void setTeacherInfo(String teacherInfo) {
		this.teacherInfo = teacherInfo;
	}

	public String getTeacherPic() {
		return teacherPic;
	}

	public void setTeacherPic(String teacherPic) {
		this.teacherPic = teacherPic;
	}

	public Date getCreateDate() {
		return createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	public String getTeacherPic1() {
		return teacherPic1;
	}

	public void setTeacherPic1(String teacherPic1) {
		this.teacherPic1 = teacherPic1;
	}

	public String getTeacherPic2() {
		return teacherPic2;
	}

	public void setTeacherPic2(String teacherPic2) {
		this.teacherPic2 = teacherPic2;
	}

	public String getPath() {
		return path;
	}

	public void setPath(String path) {
		this.path = path;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

}
